package com.test.moshi.huidiao;

public class MyClient implements  Client {
    @Override
    public void huidiao(String str) {
        System.out.println("收到回调消息 "+str);
    }

    public void userServer(String str)
    {
        HuiDiaoServer server = new HuiDiaoServer();
        server.printSome(str,this);
    }

    public static void main(String[] args) {
        MyClient client = new MyClient();
        client.userServer("this is huidiao ");
    }
}
